PulseCanvas / app · pulsecanvas.ai / Sources / PulseCanvas / Resources / ProjectM / Presets / Geometric / Wire Grid / boobs - tithypno.milk
| 1 | MILKDROP_PRESET_VERSION=201 |
| 2 | PSVERSION=3 |
| 3 | PSVERSION_WARP=2 |
| 4 | PSVERSION_COMP=3 |
| 5 | [preset00] |
| 6 | fRating=5.000000 |
| 7 | fGammaAdj=2.000 |
| 8 | fDecay=0.980 |
| 9 | fVideoEchoZoom=2.000 |
| 10 | fVideoEchoAlpha=0.000 |
| 11 | nVideoEchoOrientation=0 |
| 12 | nWaveMode=7 |
| 13 | bAdditiveWaves=0 |
| 14 | bWaveDots=0 |
| 15 | bWaveThick=1 |
| 16 | bModWaveAlphaByVolume=0 |
| 17 | bMaximizeWaveColor=0 |
| 18 | bTexWrap=1 |
| 19 | bDarkenCenter=0 |
| 20 | bRedBlueStereo=0 |
| 21 | bBrighten=0 |
| 22 | bDarken=0 |
| 23 | bSolarize=0 |
| 24 | bInvert=0 |
| 25 | fWaveAlpha=100.000 |
| 26 | fWaveScale=0.198 |
| 27 | fWaveSmoothing=0.750 |
| 28 | fWaveParam=1.000 |
| 29 | fModWaveAlphaStart=0.750 |
| 30 | fModWaveAlphaEnd=0.950 |
| 31 | fWarpAnimSpeed=0.010 |
| 32 | fWarpScale=0.010 |
| 33 | fZoomExponent=1.00000 |
| 34 | fShader=0.000 |
| 35 | zoom=1.00000 |
| 36 | rot=-0.02000 |
| 37 | cx=0.500 |
| 38 | cy=0.500 |
| 39 | dx=0.00000 |
| 40 | dy=0.00000 |
| 41 | warp=0.01000 |
| 42 | sx=1.00000 |
| 43 | sy=1.00000 |
| 44 | wave_r=0.500 |
| 45 | wave_g=0.500 |
| 46 | wave_b=0.500 |
| 47 | wave_x=0.500 |
| 48 | wave_y=0.500 |
| 49 | ob_size=0.500 |
| 50 | ob_r=0.010 |
| 51 | ob_g=0.000 |
| 52 | ob_b=0.000 |
| 53 | ob_a=0.000 |
| 54 | ib_size=0.260 |
| 55 | ib_r=0.250 |
| 56 | ib_g=0.250 |
| 57 | ib_b=0.250 |
| 58 | ib_a=0.000 |
| 59 | nMotionVectorsX=12.800 |
| 60 | nMotionVectorsY=11.400 |
| 61 | mv_dx=0.000 |
| 62 | mv_dy=0.000 |
| 63 | mv_l=5.000 |
| 64 | mv_r=1.000 |
| 65 | mv_g=1.000 |
| 66 | mv_b=1.000 |
| 67 | mv_a=1.000 |
| 68 | b1n=0.000 |
| 69 | b2n=0.000 |
| 70 | b3n=0.000 |
| 71 | b1x=1.000 |
| 72 | b2x=1.000 |
| 73 | b3x=1.000 |
| 74 | b1ed=0.250 |
| 75 | wavecode_0_enabled=0 |
| 76 | wavecode_0_samples=512 |
| 77 | wavecode_0_sep=0 |
| 78 | wavecode_0_bSpectrum=0 |
| 79 | wavecode_0_bUseDots=0 |
| 80 | wavecode_0_bDrawThick=0 |
| 81 | wavecode_0_bAdditive=0 |
| 82 | wavecode_0_scaling=1.00000 |
| 83 | wavecode_0_smoothing=0.50000 |
| 84 | wavecode_0_r=1.000 |
| 85 | wavecode_0_g=1.000 |
| 86 | wavecode_0_b=1.000 |
| 87 | wavecode_0_a=1.000 |
| 88 | wavecode_1_enabled=0 |
| 89 | wavecode_1_samples=512 |
| 90 | wavecode_1_sep=0 |
| 91 | wavecode_1_bSpectrum=0 |
| 92 | wavecode_1_bUseDots=0 |
| 93 | wavecode_1_bDrawThick=0 |
| 94 | wavecode_1_bAdditive=0 |
| 95 | wavecode_1_scaling=1.00000 |
| 96 | wavecode_1_smoothing=0.50000 |
| 97 | wavecode_1_r=1.000 |
| 98 | wavecode_1_g=1.000 |
| 99 | wavecode_1_b=1.000 |
| 100 | wavecode_1_a=1.000 |
| 101 | wavecode_2_enabled=0 |
| 102 | wavecode_2_samples=512 |
| 103 | wavecode_2_sep=0 |
| 104 | wavecode_2_bSpectrum=0 |
| 105 | wavecode_2_bUseDots=0 |
| 106 | wavecode_2_bDrawThick=0 |
| 107 | wavecode_2_bAdditive=0 |
| 108 | wavecode_2_scaling=1.00000 |
| 109 | wavecode_2_smoothing=0.50000 |
| 110 | wavecode_2_r=1.000 |
| 111 | wavecode_2_g=1.000 |
| 112 | wavecode_2_b=1.000 |
| 113 | wavecode_2_a=1.000 |
| 114 | wavecode_3_enabled=0 |
| 115 | wavecode_3_samples=512 |
| 116 | wavecode_3_sep=0 |
| 117 | wavecode_3_bSpectrum=0 |
| 118 | wavecode_3_bUseDots=0 |
| 119 | wavecode_3_bDrawThick=0 |
| 120 | wavecode_3_bAdditive=0 |
| 121 | wavecode_3_scaling=1.00000 |
| 122 | wavecode_3_smoothing=0.50000 |
| 123 | wavecode_3_r=1.000 |
| 124 | wavecode_3_g=1.000 |
| 125 | wavecode_3_b=1.000 |
| 126 | wavecode_3_a=1.000 |
| 127 | shapecode_0_enabled=0 |
| 128 | shapecode_0_sides=4 |
| 129 | shapecode_0_additive=0 |
| 130 | shapecode_0_thickOutline=0 |
| 131 | shapecode_0_textured=0 |
| 132 | shapecode_0_num_inst=1 |
| 133 | shapecode_0_x=0.500 |
| 134 | shapecode_0_y=0.500 |
| 135 | shapecode_0_rad=0.10000 |
| 136 | shapecode_0_ang=0.00000 |
| 137 | shapecode_0_tex_ang=0.00000 |
| 138 | shapecode_0_tex_zoom=1.00000 |
| 139 | shapecode_0_r=1.000 |
| 140 | shapecode_0_g=0.000 |
| 141 | shapecode_0_b=0.000 |
| 142 | shapecode_0_a=1.000 |
| 143 | shapecode_0_r2=0.000 |
| 144 | shapecode_0_g2=1.000 |
| 145 | shapecode_0_b2=0.000 |
| 146 | shapecode_0_a2=0.000 |
| 147 | shapecode_0_border_r=1.000 |
| 148 | shapecode_0_border_g=1.000 |
| 149 | shapecode_0_border_b=1.000 |
| 150 | shapecode_0_border_a=0.100 |
| 151 | shapecode_1_enabled=0 |
| 152 | shapecode_1_sides=4 |
| 153 | shapecode_1_additive=0 |
| 154 | shapecode_1_thickOutline=0 |
| 155 | shapecode_1_textured=0 |
| 156 | shapecode_1_num_inst=1 |
| 157 | shapecode_1_x=0.500 |
| 158 | shapecode_1_y=0.500 |
| 159 | shapecode_1_rad=0.10000 |
| 160 | shapecode_1_ang=0.00000 |
| 161 | shapecode_1_tex_ang=0.00000 |
| 162 | shapecode_1_tex_zoom=1.00000 |
| 163 | shapecode_1_r=1.000 |
| 164 | shapecode_1_g=0.000 |
| 165 | shapecode_1_b=0.000 |
| 166 | shapecode_1_a=1.000 |
| 167 | shapecode_1_r2=0.000 |
| 168 | shapecode_1_g2=1.000 |
| 169 | shapecode_1_b2=0.000 |
| 170 | shapecode_1_a2=0.000 |
| 171 | shapecode_1_border_r=1.000 |
| 172 | shapecode_1_border_g=1.000 |
| 173 | shapecode_1_border_b=1.000 |
| 174 | shapecode_1_border_a=0.100 |
| 175 | shapecode_2_enabled=0 |
| 176 | shapecode_2_sides=4 |
| 177 | shapecode_2_additive=0 |
| 178 | shapecode_2_thickOutline=0 |
| 179 | shapecode_2_textured=0 |
| 180 | shapecode_2_num_inst=1 |
| 181 | shapecode_2_x=0.500 |
| 182 | shapecode_2_y=0.500 |
| 183 | shapecode_2_rad=0.10000 |
| 184 | shapecode_2_ang=0.00000 |
| 185 | shapecode_2_tex_ang=0.00000 |
| 186 | shapecode_2_tex_zoom=1.00000 |
| 187 | shapecode_2_r=1.000 |
| 188 | shapecode_2_g=0.000 |
| 189 | shapecode_2_b=0.000 |
| 190 | shapecode_2_a=1.000 |
| 191 | shapecode_2_r2=0.000 |
| 192 | shapecode_2_g2=1.000 |
| 193 | shapecode_2_b2=0.000 |
| 194 | shapecode_2_a2=0.000 |
| 195 | shapecode_2_border_r=1.000 |
| 196 | shapecode_2_border_g=1.000 |
| 197 | shapecode_2_border_b=1.000 |
| 198 | shapecode_2_border_a=0.100 |
| 199 | shapecode_3_enabled=0 |
| 200 | shapecode_3_sides=4 |
| 201 | shapecode_3_additive=0 |
| 202 | shapecode_3_thickOutline=0 |
| 203 | shapecode_3_textured=0 |
| 204 | shapecode_3_num_inst=1 |
| 205 | shapecode_3_x=0.500 |
| 206 | shapecode_3_y=0.500 |
| 207 | shapecode_3_rad=0.10000 |
| 208 | shapecode_3_ang=0.00000 |
| 209 | shapecode_3_tex_ang=0.00000 |
| 210 | shapecode_3_tex_zoom=1.00000 |
| 211 | shapecode_3_r=1.000 |
| 212 | shapecode_3_g=0.000 |
| 213 | shapecode_3_b=0.000 |
| 214 | shapecode_3_a=1.000 |
| 215 | shapecode_3_r2=0.000 |
| 216 | shapecode_3_g2=1.000 |
| 217 | shapecode_3_b2=0.000 |
| 218 | shapecode_3_a2=0.000 |
| 219 | shapecode_3_border_r=1.000 |
| 220 | shapecode_3_border_g=1.000 |
| 221 | shapecode_3_border_b=1.000 |
| 222 | shapecode_3_border_a=0.100 |
| 223 | per_frame_1=rot=if(above(bass,1.3),-rot,rot); |
| 224 | per_frame_2=wave_x=0.5+(cos(time*2.8)*0.3); |
| 225 | per_frame_3=wave_r=int(rand(101))/100; |
| 226 | per_frame_4=wave_g=int(rand(101))/100; |
| 227 | per_frame_5=wave_b=int(rand(101))/100; |
| 228 | per_frame_6=cx=0.5+sin(time*3)*0.9; |
| 229 | per_frame_7=cy=0.5+cos(time*3)*0.9; |
| 230 | per_pixel_1=//rot=if(above(rad,0.5),-rot,rot); |
| 231 | per_pixel_2= |
| 232 | per_pixel_3=// i don't like the block effects very much, the sigmoid function does a very good job to avoid them |
| 233 | per_pixel_4=// http://en.wikipedia.org/wiki/Sigmoid_function |
| 234 | per_pixel_5=// welcome to our crazy microcosmos ;) |
| 235 | per_pixel_6= |
| 236 | per_pixel_7=c = 8; // try values from 1 to 100 |
| 237 | per_pixel_8=rot = rot*(sigmoid(rad-0.5,c)-0.5)*2; |
| 238 | warp_1=`shader_body |
| 239 | warp_2=`{ |
| 240 | warp_3=` |
| 241 | warp_4=` float2x2 rot = { q5, q4, |
| 242 | warp_5=` -q4, q5 }; |
| 243 | warp_6=` |
| 244 | warp_7=` float3 txr = float3(uv,q2); |
| 245 | warp_8=` |
| 246 | warp_9=` float final_noise = 0; |
| 247 | warp_10=` final_noise += (1.0/pow(2,0))*(tex3D(sampler_noisevol_hq, txr*pow(q3,0))*2-1); |
| 248 | warp_11=` final_noise += (1.0/pow(2,1))*(tex3D(sampler_noisevol_hq, txr*pow(q3,1))*2-1); |
| 249 | warp_12=` final_noise += (1.0/pow(2,2))*(tex3D(sampler_noisevol_hq, txr*pow(q3,2))*2-1); |
| 250 | warp_13=` final_noise += (1.0/pow(2,3))*(tex3D(sampler_noisevol_hq, txr*pow(q3,3))*2-1); |
| 251 | warp_14=` |
| 252 | warp_15=` final_noise = pow(final_noise,1); |
| 253 | warp_16=` |
| 254 | warp_17=` ret = tex2D(sampler_main, mul(uv-0.5,rot)*(1-rad*3.7*(1 - bass_att*0.3))*final_noise + 0.5).xyz; |
| 255 | warp_18=` |
| 256 | warp_19=` // darken (decay) over time |
| 257 | warp_20=` ret = ret - 0.08; //or try: ret -= 0.004; |
| 258 | warp_21=`} |
| 259 | comp_1=`sampler sampler_pw_noise_lq; |
| 260 | comp_2=` |
| 261 | comp_3=`float2 rs, rss, rss0, tmp, uvo; |
| 262 | comp_4=`float3 noise; |
| 263 | comp_5=` |
| 264 | comp_6=`float2 complex_div(float2 numerator, float2 denominator){ |
| 265 | comp_7=` return float2( numerator.x*denominator.x + numerator.y*denominator.y, |
| 266 | comp_8=` numerator.y*denominator.x - numerator.x*denominator.y)/ |
| 267 | comp_9=` (denominator.x*denominator.x + denominator.y*denominator.y); |
| 268 | comp_10=`} |
| 269 | comp_11=` |
| 270 | comp_12=`float2 uv_polar(float2 domain, float2 center){ |
| 271 | comp_13=` float2 c = domain - center; |
| 272 | comp_14=` float rad_hq = length(c); |
| 273 | comp_15=` float ang_hq = atan2(c.x,c.y); |
| 274 | comp_16=` return float2(ang_hq, rad_hq); |
| 275 | comp_17=`} |
| 276 | comp_18=` |
| 277 | comp_19=`float2 uv_polar_logarithmic(float2 domain, float2 center, int fins, float log_factor, float2 coord){ |
| 278 | comp_20=` float2 polar = uv_polar(domain, center); |
| 279 | comp_21=` return float2(polar.x*fins+coord.x, log_factor*log(polar.y) + coord.y); |
| 280 | comp_22=`} |
| 281 | comp_23=` |
| 282 | comp_24=`float2 uv_moebius_transformation(float2 domain, float2 zeroPoint, float2 infinityPoint,float zoom){ |
| 283 | comp_25=` return complex_div((domain - zeroPoint)*zoom, domain - infinityPoint)+0.5; |
| 284 | comp_26=`} |
| 285 | comp_27=` |
| 286 | comp_28=`float2 uv_bipolar_logarithmic(float2 domain, float2 northPole, float2 southPole, int fins, float log_factor, float2 coord){ |
| 287 | comp_29=` float2 help_uv = uv_moebius_transformation(domain, northPole, southPole, 1); |
| 288 | comp_30=` return uv_polar_logarithmic(help_uv,0.5,fins,log_factor,coord)*float2(M_INV_PI_2,1); |
| 289 | comp_31=`} |
| 290 | comp_32=` |
| 291 | comp_33=`float2 uv_scale(float2 domain, float2 center, float2 scale){ |
| 292 | comp_34=` return center + (domain-center)*scale; |
| 293 | comp_35=`} |
| 294 | comp_36=`float2 uv_lens_half_sphere(float2 domain, float2 position, float radius, float refractivity){ |
| 295 | comp_37=` float2 polar = uv_polar(domain, position); |
| 296 | comp_38=` float cone = saturate(1-polar.y/radius); |
| 297 | comp_39=` float halfsphere = sqrt(1-pow(cone-1,2)); |
| 298 | comp_40=` float w = atan2(1-cone,halfsphere); |
| 299 | comp_41=` float refrac_w = w-asin(sin(w)/refractivity); |
| 300 | comp_42=` float refrac_d = 1-cone - sin(refrac_w)*halfsphere/cos(refrac_w); |
| 301 | comp_43=` float2 refrac_uv =position+float2(sin(polar.x),cos(polar.x))*refrac_d*radius; |
| 302 | comp_44=` bool mask =(length(domain-position)<radius); |
| 303 | comp_45=` return !mask*domain + |
| 304 | comp_46=` mask*refrac_uv; |
| 305 | comp_47=`} |
| 306 | comp_48=` |
| 307 | comp_49=`/* code from Martins hardcore mix - Danke ;) */ |
| 308 | comp_50=`float hardcore_stars(float2 domain, float2 center, float o){ |
| 309 | comp_51=` |
| 310 | comp_52=` float2 uv1 = domain-center; |
| 311 | comp_53=` rss0.x = atan2(uv1.x, uv1.y)/3.1416; |
| 312 | comp_54=` rss0.y = .003/(length (uv1)); |
| 313 | comp_55=` rss = float2 (rss0.x+q1/3,rss0.y+time+o); |
| 314 | comp_56=` rss = mul(rss,float2x2(.7,.7,-.7,.7)); |
| 315 | comp_57=` float noise = (tex2D(sampler_pw_noise_lq,rss/32)-.5 >= 0); |
| 316 | comp_58=` tmp = abs(frac(rss*8)-.5); |
| 317 | comp_59=` float3 dots = saturate(.04/length(tmp)) *noise; |
| 318 | comp_60=` rss = float2 (rss0.x,rss0.y+(time+o)/4); |
| 319 | comp_61=` rss = mul(rss,float2x2(.7,.7,-.7,.7)); |
| 320 | comp_62=` noise = (tex2D(sampler_pw_noise_lq,rss/32)-.5 >= 0); |
| 321 | comp_63=` tmp = abs(frac(rss*8)-.5); |
| 322 | comp_64=` dots += saturate(.02/length(tmp)) * noise; |
| 323 | comp_65=` dots *= saturate(.2/abs(rss0.y)); |
| 324 | comp_66=` return dots*dots; |
| 325 | comp_67=`return 0; |
| 326 | comp_68=`} |
| 327 | comp_69=` |
| 328 | comp_70=` |
| 329 | comp_71=` |
| 330 | comp_72=` |
| 331 | comp_73=` |
| 332 | comp_74=` |
| 333 | comp_75=`shader_body |
| 334 | comp_76=`{ |
| 335 | comp_77=`uv = 0.5 + (uv-0.5)*aspect.wz; |
| 336 | comp_78=`time *= 0.4; |
| 337 | comp_79=` |
| 338 | comp_80=`float2 pole1 =float2(0.1,0.5); |
| 339 | comp_81=`float2 pole2 =float2(0.9,0.5); |
| 340 | comp_82=` |
| 341 | comp_83=`float stars = hardcore_stars(uv,pole1,0) + hardcore_stars(uv,pole2,2); |
| 342 | comp_84=` |
| 343 | comp_85=`uv = uv_bipolar_logarithmic(uv, pole1, pole2, 2, 0.3, float2(q26,q27)*float2(8,1)); |
| 344 | comp_86=`uv = 0.5 + (1.0 - abs( frac( uv * 0.5 ) * 2 - 1.0 )-0.5)*0.98; // Eo.S. mirror code with cutted borders |
| 345 | comp_87=`uv = uv.yx; |
| 346 | comp_88=` |
| 347 | comp_89=`float2 uv1 = uv; |
| 348 | comp_90=`float2 d = texsize.zw*3; |
| 349 | comp_91=`float3 dx = GetBlur1(uv1 + float2(1,0)*d) - GetBlur1(uv1 - float2(1,0)*d); |
| 350 | comp_92=`float3 dy = GetBlur1(uv1 + float2(0,1)*d) - GetBlur1(uv1 - float2(0,1)*d); |
| 351 | comp_93=`uv1 = uv+float2(dx.x,dy.x)*texsize.zw*32; |
| 352 | comp_94=` ret = GetPixel(uv1).x*float3(1,0,0)*0.5; |
| 353 | comp_95=` |
| 354 | comp_96=`ret.x += (+dx.x - dy.x)*0.4; |
| 355 | comp_97=`ret.x = pow(ret.x,0.8)*1.2; |
| 356 | comp_98=` |
| 357 | comp_99=`ret = lerp(ret,float3(1,1,1),GetPixel(uv1).z); |
| 358 | comp_100=` |
| 359 | comp_101=`ret = lerp(ret,1-GetPixel(uv)*1.5,stars); |
| 360 | comp_102=`} |
| 361 | comp_103=` |
| 362 | comp_104=` |